﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site.master" AutoEventWireup="false" CodeFile="LostPassword.aspx.vb" Inherits="Account_passwordrecovery" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>
        Lost Password
    </h2>
        <asp:MultiView ID="MultiView1" runat="server">
            <asp:View ID="View1" runat="server">
                Please enter your registered username or email address:<br />
                <asp:TextBox ID="txtUsernameOrEmail" runat="server" Width="322px"></asp:TextBox>
                <asp:Button ID="btnRequest" runat="server" Text="Submit" /><br />
                <asp:Label ID="lblMessageSent" runat="server" Text=""></asp:Label>
            </asp:View>
            <asp:View ID="View2" runat="server">
                <table>
                    <tr>
                        <td>Security question:</td>
                        <td>
                            <asp:Label ID="lblQuestio" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>Security answer:</td>
                        <td>
                            <asp:TextBox ID="txtAnswer" runat="server" Width="275px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>New password:</td>
                        <td>
                            <asp:Label ID="lblNewPass" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" Text="Submit" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">&nbsp;</td>
                    </tr>
                </table>
            </asp:View>

        </asp:MultiView>

<%--    <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" 
        AnswerRequiredErrorMessage="An Answer is required." 
        QuestionLabelText="Question :" SuccessText="Your password has been sent to your registered email address." 
        UserNameTitleText="Have Your Forgotten Your Password?" 
        SuccessPageUrl="~/Account/LostPasswordInfo.aspx">
        <MailDefinition BodyFileName="~/Account/EmailLostPassword.txt" 
            Subject="Password Recovery">
        </MailDefinition>
    </asp:PasswordRecovery>
        <asp:Panel ID="pnlPasswordRecover" runat="server" Style="display: none" CssClass="modalPopup">
                       <input id="btnCancel" type="button" value="X" style="float: right; background-color: #FF0000;" />
       
        <h2>
            Password Recovery Successful
        </h2>
        <p>
            Your Password has been sent to your email address.
        </p>
    </asp:Panel>
    <asp:Button ID="btnPasswordRecover" runat="server" Text="Button" Style="display: none;" />
    <asp:ModalPopupExtender ID="PasswordRecoverPopupExtender" runat="server" PopupControlID="pnlPasswordRecover"
        DynamicServicePath="" Enabled="True" TargetControlID="btnPasswordRecover"
        BackgroundCssClass="modalBackground" DropShadow="true">
    </asp:ModalPopupExtender>--%>

</asp:Content>

